-- GENERATED SPELL FOR [Withered Quilguard] --


function spell0_7329(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_7329', 609, 1)
end

function Sorts_7329(pUnit, Event)
local choix_sorts_7329 = math.random(0, 0)
if choix_sorts_7329 == 0 then
pUnit:RegisterEvent('spell0_7329', 1, 1)
end
end

function mob7329_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7329', math.random(1500, 3000), 1)
end

function mob7329_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7329_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7329_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7329, 1, 'mob7329_Action')
RegisterUnitEvent(7329, 2, 'mob7329_Leave')
RegisterUnitEvent(7329, 3, 'mob7329_Kill')
RegisterUnitEvent(7329, 4, 'mob7329_Die')
